<script>
export default {
  onLaunch: function () {
    let token = uni.getStorageSync('token');
    if (!token) {
    	uni.reLaunch({
    		url: "/pages/login/index",
    	})
    }
  },
  onShow: function () {},
  onHide: function () {},
};
</script>

<style>
@import "vant/lib/index.css";
</style>
<style lang="scss">
@import "style/layout.scss";
@import "style/reset.scss";
</style>
